package org.blade.personal.utils.pdm;

import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.blade.personal.mode.BaseEntity;

/**
 * PDM TABLE 元数据
 * @author ZGF
 *
 */
@Entity
@Table(name="pdm_table")
public class PdmTable extends BaseEntity<Long> {

	@Column(name="name")
	public String name;
	
	@Column(name="code")
	private String code;
	
	@Column(name="creation_date")

	private String creationDate;
	
	@Column(name="creator")
	private String creator;
	
	@Column(name="modification_date")
	private String modificationDate; 
	
	@Column(name="modifier")
	private String modifier;
	
	@Column(name="comment")
	private String comment;
	
	@Transient
	List<PdmColumn> column;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getCreationDate() {
		return creationDate;
	}

	public void setCreationDate(String creationDate) {
		this.creationDate = creationDate;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getModificationDate() {
		return modificationDate;
	}

	public void setModificationDate(String modificationDate) {
		this.modificationDate = modificationDate;
	}

	public String getModifier() {
		return modifier;
	}

	public void setModifier(String modifier) {
		this.modifier = modifier;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public List<PdmColumn> getColumn() {
		return column;
	}

	public void setColumn(List<PdmColumn> column) {
		this.column = column;
	}
	
}
